package com.xsprite.managesys.bean;

import java.util.Date;

public class ItemLog {
	private long id;
	private String name;
	private long createTime;
	private String toqueryTable;
	private String createTimeStr;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getCreateTime() {
		return createTime;
	}
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
		Date d = new Date(createTime);
		this.createTimeStr = d.toString();
	}
	public String getToqueryTable() {
		return toqueryTable;
	}
	public void setToqueryTable(String toqueryTable) {
		this.toqueryTable = toqueryTable;
	}
	public String getCreateTimeStr() {
		return createTimeStr;
	}
	public void setCreateTimeStr(String createTimeStr) {
		this.createTimeStr = createTimeStr;
	}
	@Override
	public String toString() {
		return "ItemLog [id=" + id + ", name=" + name + ", createTime=" + createTime + ", toqueryTable=" + toqueryTable
				+ "]";
	}
}
